export interface SysRoleOutPut {
    /// <summary>
    /// 角色id
    /// </summary>
    roleId: number
    /// <summary>
    /// 上级角色id
    /// </summary>
    pid: number
    /// <summary>
    /// 公司key
    /// </summary>
    corporationKey: string
    /// <summary>
    /// 公司名称
    /// </summary>
    corporationName: string
    /// <summary>
    /// 系统key
    /// </summary>
    systemKey: string
    /// <summary>
    /// 系统名称
    /// </summary>
    systemName: string
    /// <summary>
    /// 用户名称
    /// </summary>
    userName: string
    /// <summary>
    /// 角色名称
    /// </summary>
    roleName: string
    /// <summary>
    /// 角色类型
    /// </summary>
    roleType: number
    /// <summary>
    /// 是否开启
    /// </summary>
    isOpen: boolean
    /// <summary>
    /// 创建时间
    /// </summary>
    createTime: string
    /// <summary>
    /// 创建人员
    /// </summary>
    createUser: string
    /// <summary>
    /// 支持树形结构
    /// </summary>
    children: SysRoleOutPut[]
}

export interface SysRole {

    /// <summary>
    /// 角色id
    /// </summary>
    RoleId: number | undefined | string

    /// <summary>
    /// 上级角色id
    /// </summary>
    Pid: number | undefined | string

    /// <summary>
    /// 公司key
    /// </summary>
    CorporationKey: string

    /// <summary>
    /// 系统key
    /// </summary>
    SystemKey: string

    /// <summary>
    /// 角色名称
    /// </summary>
    RoleName: string

    /// <summary>
    /// 角色类型
    /// </summary>
    RoleType: number

    /// <summary>
    /// 是否开启
    /// </summary>
    IsOpen: boolean
}
